package com.poor.user.service.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "poor_integral")
public class PoorIntegral {
    /**
     * 积分id
     */
    @Id
    @Column(name = "integralId")
    private Integer integralid;

    /**
     * 用户id
     */
    @Column(name = "userNo")
    private Long userno;

    /**
     * 积分数值
     */
    @Column(name = "integralNo")
    private Integer integralno;

    @Column(name = "createTime")
    private Date createtime;

    @Column(name = "updateTime")
    private Date updatetime;

    /**
     * 获取积分id
     *
     * @return integralId - 积分id
     */
    public Integer getIntegralid() {
        return integralid;
    }

    /**
     * 设置积分id
     *
     * @param integralid 积分id
     */
    public void setIntegralid(Integer integralid) {
        this.integralid = integralid;
    }

    /**
     * 获取用户id
     *
     * @return userNo - 用户id
     */
    public Long getUserno() {
        return userno;
    }

    /**
     * 设置用户id
     *
     * @param userno 用户id
     */
    public void setUserno(Long userno) {
        this.userno = userno;
    }

    /**
     * 获取积分数值
     *
     * @return integralNo - 积分数值
     */
    public Integer getIntegralno() {
        return integralno;
    }

    /**
     * 设置积分数值
     *
     * @param integralno 积分数值
     */
    public void setIntegralno(Integer integralno) {
        this.integralno = integralno;
    }

    /**
     * @return createTime
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * @param createtime
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * @return updateTime
     */
    public Date getUpdatetime() {
        return updatetime;
    }

    /**
     * @param updatetime
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}